<div class="container">
    <div class="btn-group">
        <div class="btn-toolbar" role="toolbar">
            <div class="btn-group">
                <button type="button" class="btn btn-default"><span class="glyphicon glyphicon-align-justify"></span></button>
                <button id="btnGroupVerticalDrop2" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                    <?php 
                        $city = ''; 
                        if (isset($data['active_city']) && $city = $data['active_city']) {
                            if ($city == 'ho-chi-minh') echo 'Hồ Chí Minh';
                            elseif ($city == 'ha-noi') echo 'Hà Nội';
                        } else {
                            echo 'Địa điểm';
                        }
                    ?>
                    <span class="caret"></span>
                </button>
                <ul class="dropdown-menu" role="menu" aria-labelledby="btnGroupVerticalDrop2">
                  <li <?php if ($city == 'ho-chi-minh') echo 'class="active"' ?>><a href="/karaoke/ho-chi-minh">Hồ Chí Minh</a></li>
                  <li <?php if ($city == 'ha-noi') echo 'class="active"' ?>><a href="/karaoke/ha-noi">Hà Nội</a></li>
                </ul>
            </div>
        </div>
    </div>
</div>